<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>猜数字</title>
</head>

<body>
    <h3>猜数字</h3>
    <div>
        <form action="guessNum" method="Post">
            <input type="text" name="toGuess">
            <input type="submit" value="猜">

        </form>
    </div>
    <div>
        结果：<span th:text="${result}"></span>
    </div>
</body>

</html>